package cn.life.money.service.biz;

import cn.life.money.req.AddAccountItemReq;
import cn.life.money.req.CommonIdReq;
import cn.life.money.vo.AccountItemVO;
import cn.life.money.vo.MoneyAccountVO;

import java.util.List;

public interface MoneyBizService {

    /**
     * 获取所有账户
     */
    List<MoneyAccountVO> getAllAccount();

    /**
     * 添加账户
     *
     * @author dongli
     * @since 2024/9/24 15:58
     */
    String addAccountItem(AddAccountItemReq req);

    /**
     * 获取账户的详细信息
     *
     * @author dongli
     * @since 2024/9/24 16:17
     */
    AccountItemVO getAccountItem(CommonIdReq req);
}
